package com.dz.Incubator.service;

import com.dz.Incubator.entity.ServiceTypeEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author YM
 * @note
 * @date 2020/4/28
 */
public interface ServiceTypeService {
    int insert(ServiceTypeEntity serviceType);

    void delete(@Param("id") int id);

    void udpate(ServiceTypeEntity serviceTypeEntity);

    List<ServiceTypeEntity> getAll();

    List<ServiceTypeEntity> getAllAndChild();
}
